package com.jyw.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author Created by ZhangCheng on 2023/08/17 (系统工单接单科室配置)
 */
@Data
@TableName("sys_receive_depart_config")
@ApiModel("系统工单接单科室配置实体")
public class SysReceiveDepartConfig {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 接单科室ID
     */
    @NotNull(message = "接单科室不能为空！")
    @ApiModelProperty("接单科室ID")
    private Long departId;

    /** 故障分类 */
    @ApiModelProperty("故障分类")
    private String faultType;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sort;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

}
